<?php
include "./base.php";
$username = $_POST["username"];
$password = $_POST["password"];
$sql = "select * from manage where username = '$username' and password = '$password';";
$res = mysql_query($sql);
$row = mysql_fetch_assoc($res);
print_r(json_encode($row));
?>